<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>静态化管理</title>
    <link href="/resource/admin/css/common.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/resource/admin/js/jquery.js"></script>
    <script type="text/javascript" src="/resource/admin/js/jquery.validate.js"></script>
    <script type="text/javascript" src="/resource/admin/js/common.js"></script>
    <script type="text/javascript" src="/resource/admin/js/input.js"></script>
    <script type="text/javascript">
        $().ready(function() {
             [@flash_message /]
        });
    </script>
</head>
<body>
<div class="path">
    <a href="/common/index">首页</a> &raquo;静态化管理
</div>
<form id="inputForm" action="/static/build" method="post" class="required-form" onsubmit="return ajaxForm(this,formBack)">
    <table class="input">
        <tr>
            <th>
                <span class="requiredField">*</span>KEY
            </th>
            <td>
               <select class="text" name="key">
                     <option value="buildDBIndex">夺宝首页</option>
                     <option value="buildDBTimes">夺宝期(单个)</option>
                     <option value="buildDBProduct">夺宝产品(该产品的所有夺宝期)</option>
                   <option value="findLottery">强制开奖(夺宝期)</option>
               </select>
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>Content
            </th>
            <td>
               <input type="text" name="content" class="text"/>
                <span>夺宝期timesNo,产品ID</span>
            </td>
        </tr>
        <tr>
            <th>
                &nbsp;
            </th>
            <td>
                <input type="submit" class="button" value="提交" />
                <input type="button" class="button" value="返回" onclick="location.href='list'" />
            </td>
        </tr>
    </table>
</form>
<script type="text/javascript">
    function formBack(data){
        alert(data.content);
        return false;
    }
</script>
</body>
</html>